package com.coding.pojo;

/**
 * @auther wangchenghao
 * @date 2020/8/9
 **/
public class UserCollect {
    private int userCollectId;
    private int userId;
    private String userName;
    private int sourceId;
    private String sourceWay;
    private String sourceKind;
    private String collectTime;
    private String imageUrl;


    private MainPlace mainPlace;
    private Poem poem;
    private Post post;

    public UserCollect() {
    }

    public UserCollect(int userCollectId, int userId, String userName, int sourceId, String sourceKind, String collectTime, String imageUrl,String sourceWay) {
        this.userCollectId = userCollectId;
        this.userId = userId;
        this.userName = userName;
        this.sourceId = sourceId;
        this.sourceKind = sourceKind;
        this.collectTime = collectTime;
        this.imageUrl = imageUrl;
        this.sourceWay=sourceWay;
    }

    public UserCollect(int userCollectId, int userId, String userName, int sourceId, String sourceWay, String sourceKind, String collectTime, String imageUrl, MainPlace mainPlace, Poem poem, Post post) {
        this.userCollectId = userCollectId;
        this.userId = userId;
        this.userName = userName;
        this.sourceId = sourceId;
        this.sourceWay = sourceWay;
        this.sourceKind = sourceKind;
        this.collectTime = collectTime;
        this.imageUrl = imageUrl;
        this.mainPlace = mainPlace;
        this.poem = poem;
        this.post = post;
    }

    public String getSourceWay() {
        return sourceWay;
    }

    public void setSourceWay(String sourceWay) {
        this.sourceWay = sourceWay;
    }

    public int getUserCollectId() {
        return userCollectId;
    }

    public void setUserCollectId(int userCollectId) {
        this.userCollectId = userCollectId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getSourceId() {
        return sourceId;
    }

    public void setSourceId(int sourceId) {
        this.sourceId = sourceId;
    }

    public String getSourceKind() {
        return sourceKind;
    }

    public void setSourceKind(String sourceKind) {
        this.sourceKind = sourceKind;
    }

    public String getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(String collectTime) {
        this.collectTime = collectTime;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public MainPlace getMainPlace() {
        return mainPlace;
    }

    public void setMainPlace(MainPlace mainPlace) {
        this.mainPlace = mainPlace;
    }

    public Poem getPoem() {
        return poem;
    }

    public void setPoem(Poem poem) {
        this.poem = poem;
    }

    public Post getPost() {
        return post;
    }

    public void setPost(Post post) {
        this.post = post;
    }
}
